#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
FlaSam Code

2007 2007-6-24 上午08:23:31
'''

from utils import uuid
from utils.uuid import uuid_md5

NULL_UUID = uuid.UUID_NIL

def mk_uuid():
    return uuid.uuid_time()


def mk_name_space_uuid(n):
    '''
    
    @param n:
    default hash type is md5
    '''
    
    return uuid_md5(uuid.UUID_NIL, n)
